package org.monkeyk.io;

import java.io.InputStream;

/**
 * @author Zhang Hui
 * @author Shengzhao Li
 */
public interface FileWarehouse {

    String write(InputStream inputStream);

    String write(byte[] data);

    byte[] read(String path);

    void delete(String path);

    String absolutePath(String path);
}
